#include <QApplication>
#include "widgets/user/UserPanel.h"
#include "widgets/product/ProductPanel.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    auto *userPanel = new UserPanel();
    auto *productPanel = new ProductPanel();
    QObject::connect(userPanel, SIGNAL(logined(bool)), productPanel, SLOT(loginSlot(bool)));
    userPanel->show();

    return QApplication::exec();
}
